package office.dao.sale;

import platform.common.dao.impl.BaseDomainProviderImpl;

public class CustomerTrackingDP extends BaseDomainProviderImpl {
	
	public String getCustomerTrackingByUid(){
		String hql = "from CustomerTracking where user.id = ? order by customer.id,trackingInfo.type ";
		return hql;
	}
	
	//方法描述: 根据项目名称获取标书信息
	/*public String getCustomerTrackingByUid(Map condMap){
		StringBuffer strBuf = new StringBuffer();
		strBuf.append(" from "+ this.getDomainClassName() + " where 1=1 ");
		Iterator it = condMap.keySet().iterator();
		while(it.hasNext()){
			String str = (String)it.next();
			if(str.equals("user.id")){
				strBuf.append(" and user.id = '"+condMap.get(str)+"' ");
			}
		}
		strBuf.append(" order by createDate ");
		return strBuf.toString();
	}*/

}
